package com.populatton.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author shmily
 * @since 2019-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="FamilyInfo对象", description="")
public class FamilyInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "个人信息id")
    private Integer personalId;

    @ApiModelProperty(value = "关系亲属id")
    private Integer relationId;

    @ApiModelProperty(value = "身份证号码")
    private String idCardNumber;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "性别  0:男 1:女")
    private Boolean sex;

    @ApiModelProperty(value = "出生日期")
    private LocalDateTime birthdate;

    @ApiModelProperty(value = "有无预防接种证  0:无 1:有")
    private Boolean isInoculation;

    @ApiModelProperty(value = "是否在本市就读  0:否 1:是")
    private Boolean isStudy;


}
